package com.sxf.consts;

/**
 * @title Consts
 * @description 系统常量.
 * @author zhiwei.han
 * @date 2019年8月11日
 */
public final class Consts {
	public static final String SLASH = "/";
	public static final String UTF8 = "utf-8";
	public static final String UTF8_UPPER = "UTF-8";
	public static final String EMPTY = "";
	public static final String SEMICOLON = ";";
	public static final String SPACE = " ";
	public static final String QUESTION_MARK = "?";
	public static final String AND = "&";
	public static final String EQUAL = "=";
	public static final String UNDER_LINE = "_";
	public static final String COMMA = ",";
	public static final String COLON = ":";
	public static final String DOT = ".";
	public static final String SHORT_BAR = "-";
	public static final String DOLAR = "$";
	public static final String SQUARE_BRACKETS_LEFT = "[";
	public static final String SQUARE_BRACKETS_RIGHT = "]";

	/** 数字常量 */
	public static final int INT_NUM_0 = 0;

	public static final int INT_NUM_1 = 1;
	public static final int INT_NUM_2 = 2;
	public static final int INT_NUM_3 = 3;
	public static final int INT_NUM_4 = 4;
	public static final int INT_NUM_5 = 5;
	public static final int INT_NUM_6 = 6;
	public static final int INT_NUM_7 = 7;
	public static final int INT_NUM_8 = 8;
	public static final int INT_NUM_9 = 9;
	public static final int INT_NUM_10 = 10;
	public static final int INT_NUM_11 = 11;
	public static final int INT_NUM_12 = 12;
	public static final int INT_NUM_13 = 13;
	public static final int INT_NUM_14 = 14;
	public static final int INT_NUM_15 = 15;
	public static final int INT_NUM_16 = 16;
	/**
	 * 数字1024，常用于默认流缓冲区大小
	 */
	public  static final int INT_NUM_1024 = 1024;

	/** 日期格式 */
	public static final String DATE_PATTERN = "yyyyMMdd";

	public static final String COMMON_FULLDATE_PATTERN = "yyyy-MM-dd HH:mm:ss";
	public static final String TIMESTAMP_PATTERN = "yyyyMMddhhmmsss";

	public static final String TIMESTAMP_PATTERN_MONTH = "yyyyMM";
	public static final String TIMESTAMP_PATTERN_DAY = "yyyyMMdd";
	public static final String TIMESTAMP_PATTERN_HOUR = "yyyyMMddhh";
	public static final String TIMESTAMP_PATTERN_MIN = "yyyyMMddhhmm";
	public static final String TIMESTAMP_PATTERN_SEC = "yyyyMMddhhmmsss";

	public static final String DATE_PATTERN_MONTH = "yyyy-MM";
	public static final String DATE_PATTERN_DAY = "yyyy-MM-dd";
	public static final String DATE_PATTERN_HOUR = "yyyy-MM-dd HH";
	public static final String DATE_PATTERN_MIN = "yyyy-MM-dd HH:mm";
	public static final String DATE_PATTERN_SEC = "yyyy-MM-dd HH:mm:ss";

	/**
	 * 微信公众号请求服务时携带的Header key
	 */
	public static final String HEADER_WECHAT_UNIONID = "wechat-unionid";

	/**
	 * 经纬度放大倍数
	 */
	public static final Double ZOOM_MULTIPLES = 1000000.0;
	
	/**
	 * 单个文件大小设置
	 */
	public static final String DEFAULT_MAX_FILE_SIZE = "10MB";
	/**
	 * 单次请求大小设置
	 */
	public static final String DEFAULT_MAX_REQUEST_SIZE = "100MB";
	
	/**
	 * 网关的ApplicationName
	 */
	public static final String GATEWAY_APPLICATION_NAME = "hetu-gateway";
	
	/**
	 * swagger 相关
	 */
	public static final String TITLE = "REST格式的API文档";
	public static final String DESCRIPTION = "REST格式的API文档";
	public static final String TERMSOF_SERVICE_URL = "";
	public static final String VERSION = "1.0.0";
	
	/**
	 * resource后缀
	 */
	public static final String DEFAULT_RESOURCE_PATTERN = "**/*.class";
	
	public static final String LINUX = "linux";


}
